<ion-view view-title="分销订单详情">
    <ion-content class="crm-content">
        <div class="crm-card">
            <div class="crm-hotel-item">
                <div class="list">
                    <ul class="crm-list-ul">
                        <li class='item'>
                            <div>
                                <div class="row">
                                    <div class="col-25 text-left">
                                        房间
                                    </div>
                                    <div class="col-75 text-right">
                                        <p>
                                            {{distributionDetail.roomType}},&nbsp;
                                            {{distributionDetail.roomNo}}
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li class='item'>
                            <div>
                                <div class="row">
                                    <div class="col-25 text-left">
                                        预定人
                                    </div>
                                    <div class="col-75 text-right">
                                        <p>
                                            {{distributionDetail.bookUser}},&nbsp;
                                            ({{distributionDetail.userTel}})
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li class='item'>
                            <div>
                                <div class="row">
                                    <div class="col-25 text-left">
                                        下单时间
                                    </div>
                                    <div class="col-75 text-right">
                                        <p>
                                            {{distributionDetail.orderTime}}
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li class='item'>
                            <div>
                                <div class="row">
                                    <div class="col-25 text-left">
                                        订单金额
                                    </div>
                                    <div class="col-75 text-right">
                                        <p class="assertive-crm">
                                            &yen;&nbsp;{{distributionDetail.amount | number: 2}},&nbsp;
                                            {{distributionDetail.payType}}
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li class='item'>
                            <div>
                                <div class="row">
                                    <div class="col-25 text-left">
                                        入住时间
                                    </div>
                                    <div class="col-75 text-right">
                                        <p>
                                            {{distributionDetail.checkInTime}}
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li class='item'>
                            <div>
                                <div class="row">
                                    <div class="col-25 text-left">
                                        离店时间
                                    </div>
                                    <div class="col-75 text-right">
                                        <p>
                                            {{distributionDetail.checkOutTime}}
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li class='item'>
                            <div>
                                <div class="row">
                                    <div class="col-25 text-left">
                                        订单状态
                                    </div>
                                    <div class="col-75 text-right">
                                        <p ng-class="{true: 'assertive-crm', false: ''}[distributionDetail.orderStatus > 1]">
                                            {{distributionDetail.orderStatus === 1 ? '已确认' : '未确认'}}
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li class='item'>
                            <div>
                                <div class="row">
                                    <div class="col-25 text-left">
                                        来源
                                    </div>
                                    <div class="col-75 text-right">
                                        <p>
                                            {{distributionDetail.from}}
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </ion-content>
</ion-view>